<template>
	<view class="list">
		<view v-for="(item,index) in list" :key="index">{{item}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
			};
		},
		onLoad(o) {
			this.$u.post('/health/singleinfo',{
				single_id:o.id
			}).then(res=>{
				this.list = res.data.datjson
			})
		},
	}
</script>

<style lang="scss">
.list{
			padding: 0 40rpx;
			border-radius: 20rpx;
			width: 95%;
			margin: 20rpx auto;
			background-color: #FFFFFF;
			margin-bottom: 20rpx;
			>view{
				display: flex;
				align-items: center;
				justify-content: space-between;
				height: 100rpx;
				border-bottom: 1px solid #F1F1F1;
			}
			.msg{
				margin-top: 30rpx;
				padding: 40rpx;
				height: auto;
				border-radius: 20rpx;
				background-color: #F8F8F8;
				border: 1px solid #EAEAEA;
			}
		}
</style>
